package com.itheima.jvm.memory.stack;

public class StackDemo01 {

    public static void main(String[] args) {

        // 调用show方法
        show();

    }

    public static void show() {
        System.out.println("show.....被加入到栈内存了.....");
        method();
    }

    public static void method() {
        System.out.println("method.....被加入到栈内存了.....");
        function();
    }

    public static void function() {
        System.out.println("function.....被加入到栈内存了.....");
    }

}